#!/bin/sh

rabbitmq-server -detached
rabbitmq-plugins enable rabbitmq_mqtt 
rabbitmqctl list_users
rabbitmqctl add_user hifocus 519070
rabbitmqctl set_user_tags hifocus administrator
rabbitmqctl set_permissions hifocus '.*' '.*' '.*' 
rabbitmqctl list_permissions

echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub
